package com.guan.ordering_sys.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 关远键
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TableRecord对象", description="")
public class TableRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "餐桌使用记录id")
    @TableId(value = "table_record_id", type = IdType.AUTO)
    private Long tableRecordId;

    @ApiModelProperty(value = "餐桌编号")
    private Integer tableId;

    @ApiModelProperty(value = "是否已使用，0没有1用餐中2已预订")
    private String use;

    @ApiModelProperty(value = "预定餐桌的客户微信标识")
    private Long wxuserId;

    @ApiModelProperty(value = "预定餐桌的客户手机号")
    private String phone;

    @ApiModelProperty(value = "预定餐桌的客户姓名")
    private String clientName;

    @ApiModelProperty(value = "预约开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "预约结束时间")
    private Date endTime;


}
